#include<iostream>
#include<cmath>
#include<algorithm>
using namespace std;
typedef long long LL;
int main()
{
	int n = 2;
	int ans = 0;
	while (ans + n * n < 1500) {
		n += 2;
	}
	cout << n << endl;
	return 0;
}